package com.yww.algorithm.stack;

/**
 * @author yww
 * @description 中缀表达式转后缀
 * @since 2024/2/5 10:21
 */
public class InfixToSuffix {
    public static String infixToSuffix(String infix) {
        StringBuilder sb = new StringBuilder(infix.length());
        return sb.toString();
    }

    private static int priority(char c) {
        switch (c) {
            case '+': {
            }
            case '-': {
                return 1;
            }
            case '*': {
            }
            case '/': {
                return 2;
            }
            default: {
                throw new IllegalArgumentException("运算符不合法：" + c);
            }
        }
    }
}
